<!--继承layout模版布局-->
{{extend '../common/layout.html'}}

<!--标题-->
{{block 'title'}}
<title>注册</title>
{{/block}}

<!--自己需要的css样式-->
{{block 'css'}}
<link rel="stylesheet" href="/css/register.css"> {{/block}}

<!--主体内容-->
{{block 'content'}}
<form id="regForm" onsubmit="return false">
    <h1>亲，注册一下哦</h1>
    <input class=input_1 id=username size=15 name="nick_name" placeholder=用户名><br />
    <input class=input_1 id=password type=text size=15 name="password" placeholder=密码><br />
    <input class=input_1 id="email" type=text size=15 name="email" placeholder=输入邮箱><br />

    <span class="radio_box">
            <input type="radio" id="radio_1" name="identity" value="1" checked>
            <label for="radio_1"></label>
            普通用户
        </span>
    <span class="radio_box">
            <input type="radio" id="radio_2" name="identity" value="2">
            <label for="radio_2"></label>
            管理员
        </span><br />
    <input class=input_3 type="button" id="regBtn" value="注册" />
    <input class=input_3 type="reset" id="resetBtn" value="重置" />
</form>
{{/block}}

<!--自己的js文件-->
{{block 'script'}}
<script src="/utils/ajax.js"></script>
<script src="/js/register.js"></script>
{{/block}}